package fun.lifepoem.core.domain;


import fun.lifepoem.core.utils.SecureUtils;
import lombok.Data;
import org.springframework.util.StringUtils;

import java.io.Serializable;

/**
 * 文件的加密
 */
@Data
public class FileSecureEntity implements Serializable {
    private static final long serialVersionUID = 42L;

    private String fileId;

    private String expiryTime;

    private String password;

    private Boolean expiryStatus;


    public String getPassword() {
        return this.password == null ? "" : this.password;
    }

}
